<template>
  <div>
    <div class="header">
      <el-button type="success" class="el-icon-circle-plus-outline" @click="add"
        >新增</el-button
      >
      <div class="right">
        <el-input v-model="input" placeholder="查找" class="myinput"></el-input>
        <el-button class="el-icon-search sou"></el-button>
      </div>
    </div>
    <el-calendar v-model="value"> </el-calendar>
  </div>
</template>
<script>
export default {
  name: "",
  components: {},
  methods: {
    add() {
      this.$router.push("/home/calendar/calendar_add");
    },
  },
  data() {
    return {
      value: new Date(),
    };
  },
};
</script>
<style lang="less" scoped>
.header {
  button {
    line-height: 5px;
    font-weight: bold;
    margin: 10px 6px;
  }
}
.left {
  float: left;
}
.right {
  float: right;
  button {
    height: 40px;
    margin: 0;
  }
  .myinput {
    width: 200px;
    height: 30px;
  }
}
</style>